package demo1;


public class text67 {
    public static int num(int n)
    {
        if(n==0)
        {
            return 1;
        }
        if(n<=2)
        {
            return n;
        }
        return num(n-1)+num(n-2);
    }

        // write code here


    public static void main(String[] args) {
        int[][]arr={{1,3,1},{1,5,1},{4,2,1}};
        //int b=maxValue(arr);
        int c=num(44);
        System.out.println(c);


    }
}
